package com.yun.unit;

public interface Code {
    Integer save_ok = 1001;//新增成功
    Integer delete_ok = 1002;//删除成功
    Integer update_ok = 1003;//修改成功
    Integer get_ok = 1004;//查询成功

    Integer save_err = 2001;//新增失败
    Integer delete_err = 2002;//删除失败
    Integer update_err = 2003;//修改失败
    Integer get_err = 2004;//查询失败

    Integer exception_err = 3001;
    Integer getUpDate_ok = 3002;
    Integer getUpDate_err = 3003;
    Integer getOCR_ok = 4001;
    Integer getOCR_err = 4002;
    Integer getOCR_ok_img = 4003;
    Integer getOCR_err_id = 4004;

    Integer Access_FAIL=0000;// 权限不足

    Integer LOGIN_FAIL=0001;// 未登录或者登录过期
}
